global.rootpath = __dirname
global.support = require('./support/Support.js'); // 加载功能组件
require('./support/Yaml.js'); // 加载配置文件

const OnMessageReceive = require('./support/loadPlugins.js').OnMessageReceive // 加载插件

const OICQClient = require('./support/Client.js'); // 创建客户端
global.Bot = OICQClient.CreateClient()

Bot.on("message", OnMessageReceive);

require("./system/index.js");

//OICQClient.Login();
